]> dgit.raspbian.org Git - gnome-shell.git/commit
dateMenu: Freeze popup size while browsing
authorFlorian Müllner <fmuellner@gnome.org>
Fri, 13 Feb 2015 15:25:21 +0000 (16:25 +0100)
committerFlorian Müllner <fmuellner@gnome.org>
Fri, 20 Feb 2015 16:39:25 +0000 (17:39 +0100)
commite404369c0f32fed8d38616dec58d394510833f33
treea5e50421175fac2d73ffeebe4fb53d3dfd16752a
parent88c7039ebe0862c483a5d2ed6dfb1970746f8252
dateMenu: Freeze popup size while browsing

As the popup's height depends on its content, which itself varies
depending on the selected day, browsing the calendar can result
in distracting size changes. To avoid this, the design calls for
the height to be frozen to the previous one in that case.
As the popup will always open with the current day selected, we
don't have to be very sophisticated and can just lock the popup
to the height corresponding to that day.

https://bugzilla.gnome.org/show_bug.cgi?id=744817
js/ui/dateMenu.js